package com.finace.money.data.bean;

import java.util.List;

/**
 * Created by zhangpeng on 2018/1/27.
 */

public class AddressBean extends BaseEntity{


    /**
     * id : 110000
     * name : 北京
     * parentid : 1
     * cityList : [{"id":110100,"name":"北京市","parentid":110000,"areaList":[{"id":110101,"name":"东城区","parentid":110100}]}]
     */

    private int id;
    private String name;
    private int parentid;
    private List<CityListBean> cityList;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getParentid() {
        return parentid;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public List<CityListBean> getCityList() {
        return cityList;
    }

    public void setCityList(List<CityListBean> cityList) {
        this.cityList = cityList;
    }

    public static class CityListBean extends BaseEntity{
        /**
         * id : 110100
         * name : 北京市
         * parentid : 110000
         * areaList : [{"id":110101,"name":"东城区","parentid":110100}]
         */

        private int id;
        private String name;
        private int parentid;
        private List<AreaListBean> areaList;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getParentid() {
            return parentid;
        }

        public void setParentid(int parentid) {
            this.parentid = parentid;
        }

        public List<AreaListBean> getAreaList() {
            return areaList;
        }

        public void setAreaList(List<AreaListBean> areaList) {
            this.areaList = areaList;
        }

        public static class AreaListBean extends BaseEntity{
            /**
             * id : 110101
             * name : 东城区
             * parentid : 110100
             */

            private int id;
            private String name;
            private int parentid;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getParentid() {
                return parentid;
            }

            public void setParentid(int parentid) {
                this.parentid = parentid;
            }
        }
    }
}
